package com.fearless.crm.vo;

import java.util.List;
//T代表任意泛型
public class PaginationVo<T> {

    private int total;
    private List<T> datalist;


    public int getTotal() {
        return total;
    }

    public List<T> getDatalist() {
        return datalist;
    }

    public void setDatalist(List<T> datalist) {
        this.datalist = datalist;
    }

    @Override
    public String toString() {
        return "PaginationVo{" +
                "total=" + total +
                ", datalist=" + datalist +
                '}';
    }

    public void setTotal(int total) {
        this.total = total;

    }
}
